# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Lex Black <autumn-wind at web dot de>
# Contributor: PiC0 <guill.p.linux@gmail.com>

pkgname=python-xmltodict
pkgver=0.13.0
pkgrel=3
pkgdesc="Python module that makes working with XML feel like working with JSON"
url="https://github.com/martinblech/xmltodict"
arch=('any')
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/x/xmltodict/xmltodict-$pkgver.tar.gz")
sha256sums=('341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56')

package() {
  cd "$srcdir/xmltodict-$pkgver"
  python setup.py install --root="${pkgdir}"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
